From: Colin Walters Date: Thu, 4 Aug 2016 20:58:07 +0000 (-0400) Subject: build: Make -Werror=int-conversion fatal X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~49^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e7b3cf9850374df232d2cf264dcfcfdca97d80a9;p=ostree.git build: Make -Werror=int-conversion fatal This should hopefully avoid me accidentally passing NULL for an `int` file descriptor in the future. Closes: #431 Approved by: giuseppe --- diff --git a/configure.ac b/configure.ac index 18ab7b04..4831bcc4 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,7 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\ -Werror=missing-declarations \ -Werror=return-type \ -Werror=overflow \ + -Werror=int-conversion \ -Werror=missing-include-dirs -Werror=aggregate-return \ -Werror=declaration-after-statement \ ])